<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Firebird Functions (PDO_FIREBIRD)</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="ref.pdo-dblib.connection.html">« PDO_DBLIB DSN</a></li>
      <li style="float: right;"><a href="ref.pdo-firebird.connection.html">PDO_FIREBIRD DSN »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="pdo.drivers.html">PDO 驱动</a></li>
    <li>Firebird Functions (PDO_FIREBIRD)</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.pdo-firebird" class="reference">
  
  <h1 class="title">Firebird Functions (PDO_FIREBIRD)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-firebird.intro">
   <h2 class="title">简介</h2>
    <p class="para">
     PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO)
     interface to enable access from PHP to Firebird database.
    </p>
   </div>
   

<div class="section" id="ref.pdo-firebird.installation">
 <h2 class="title">安装</h2>
 <p class="para">
  Use <strong class="option configure">--with-pdo-firebird[=DIR]</strong> to install
  the PDO Firebird extension, where the optional <code class="literal">[=DIR]</code>
  is the Firebird base install directory.
  <div class="example-contents screen">
<div class="cdata"><pre>
$ ./configure --with-pdo-firebird
</pre></div>
  </div>
 </p>
</div>



   

<div class="section" id="pdo-firebird.constants">
 <h2 class="title">预定义常量</h2>
 <p class="simpara">下列常量由此驱动定义，且仅在扩展编译入 PHP
或在运行时动态载入时可用。另外，使用此驱动时，仅会使用这些驱动特定的常量。使用其他驱动的驱动特定的常量可能会导致不可预见的情况。如果代码可运行于多个驱动，<span class="function"><a href="pdo.getattribute.html" class="function">PDO::getAttribute()</a></span>
可被用于获取
<strong><code>PDO_ATTR_DRIVER_NAME</code></strong>
属性以检查驱动。</p>
 <dl>
  
   <dt id="pdo.constants.fb-attr-date-format">
    <strong><code>PDO::FB_ATTR_DATE_FORMAT</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <p class="para">
     Sets the date format.
    </p>
   </dd>

  
  
   <dt id="pdo.constants.fb-attr-time-format">
    <strong><code>PDO::FB_ATTR_TIME_FORMAT</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <p class="para">
     Sets the time format.
    </p>
   </dd>

  
  
   <dt id="pdo.constants.fb-attr-timestamp-format">
    <strong><code>PDO::FB_ATTR_TIMESTAMP_FORMAT</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <p class="para">
     Sets the timestamp format.
    </p>
   </dd>

  
 </dl>

</div>



  </div>

  

 <h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-firebird.connection.html">PDO_FIREBIRD DSN</a> — Connecting to Firebird databases</li></ul>
</div>
</div></div></body></html>